revStopSpeech
Type
command
Summary
Halts a speech that was started with the revSpeak command.
Syntax
revStopSpeech
Description
Use the revStopSpeech command to let the user interrupt a lengthy speech, or to stop a speech before it's finished.
You can use the revIsSpeaking function to determine whether there's currently a speech in progress.
The revStopSpeech command is part of the Speech library. To ensure that the command works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions pane of the Standalone Application Settings window, make sure the "Speech" library checkbox is checked.
Examples
revStopSpeech
if userCanHaltSpeech then revStopSpeech
Related
command: revUnloadSpeech, revSpeak
control structure: function
function: revIsSpeaking
glossary: command, Standalone Application Settings, standalone application, LiveCode custom library
library: Speech library
Compatibility and Support
Introduced
LiveCode 2.0
OS
mac
windows
Platforms
desktop
server